<%-- 
    Document   : changePassword
    Created on : Jun 19, 2012, 2:08:05 PM
    Author     : VANANH
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/> 
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/> 
        <script type="text/javascript" language="javascript" src="../scripts/jQuery/kapi.js"></script>

    </head>
    <script type="text/javascript" language="javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){
              
        
           
//            var b = location.pathname;
//            $j("input[id$='message']").val(b);
//            
//        
//            validateform("changePass");

        });
    </script>
    <style>
        .fields_input_lable{
            float: left;
            margin-top: 8px;
            width: 100%;
        }
        .popup-footer{
            margin-top: 5px;
        }
        .field_blue{
             background-color: #D1E1F1;
        }
        .form_item_content{
            margin-left: 6px !important;
        }
        .alert{
            margin-top: 10px;
            text-align:  center !important;
            margin-left: 100px !important;
        }
    </style>

    <body style=" float:left; width:auto; height:auto; margin:0px;">
        <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
        <f:view>
            <a4j:form id="changePass">
                <div class="popup" style="height:188px; width:399px">
                    <div class="popup-header">
                        <div class="title"><h:outputText value="#{locale.update_pass1}"/></div>
                    </div>
                    <div class="popup-content">
                        <div class="main_content">
                            <div class="form_item_content" style="display: block;">
                                    <div class="field_blue" style="height:70px; margin-top: 3px;">
                                    <div class="fields_input">
                                        <label><h:outputText value="Tên tài khoản"/> *:</label>
                                        <h:inputText value="#{Q100Bean.qv119}" style="height:22px;width:239px; wight" id="password" >
                                        </h:inputText>
                                    </div>
                                    <div class="fields_input">
                                        <label><h:outputText value="#{locale.confirm_password} "/> *:</label>
                                        <h:inputSecret value="#{Q100Bean.qv120}" style="height:22px;width:239px" styleClass="equalto" lang="password">
                                        </h:inputSecret>

                                    </div> 
                                </div>    

                            </div>
                            


                        </div>
                    </div>
                    <div class="popup-footer">
                        <div class="buttonsave" onclick="jQuery.fancybox.close() "  ><span><h:outputText value="#{locale.close}"/></span></div>
                        <h:commandButton  action="#{Q100Bean.updateGooglemailReceive}" value="#{locale.save}" styleClass="buttonsave">
                            <f:param value="#{Q100Bean.timezone}" name="time"/>
                            <f:param value="#{Q100Bean.language}" name="lang"/>
                            <f:param value="#{Q100Bean.fomatdate}" name="date"/>
                        </h:commandButton>
                        <h:inputHidden value="#{Q100Bean.pn100}" id="fn100"/>
                        <h:inputHidden value="#{Q100Bean.qv117}" id="qv117"/>
                        <h:inputHidden value="#{Q100Bean.qv118}" id="qv118"/>

                    </div>
                </div>
            </a4j:form>
        </f:view>
    </body>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>
